﻿@model dynamic

@section header{
    <title>取消配送</title>
    <link type="text/css" rel="stylesheet" href="/admin_store/css/site.css" />
    <script type="text/javascript" src="/admin_store/scripts/jquery.js"></script>
    <script type="text/javascript" src="/admin_store/scripts/jquery.validate.js"></script>
    <script type="text/javascript" src="/admin_store/scripts/jquery.validate.unobtrusive.js"></script>
    <link rel="stylesheet" type="text/css" href="/components/jbox/Skins/Default/jbox.css" />
    <script type="text/javascript" src="/components/jbox/jquery.jBox-2.3.min.js"></script>
}

@section body{
    <h1 class="rightH1">
        微信小程序 &gt; 订单管理 &gt; <span class="rightH1-cur">取消配送订单</span>
        <div class="right">
            <a href="@Url.Action("orderinfo",new { oid = Request["oid"] })" class="menuBT"><img src="/admin_store/images/goback.jpg" />返回列表</a>
            <div class="clear"></div>
        </div>
        <div class="clear"></div>
    </h1>
    @using (Html.BeginForm())
    {
        <input type="hidden" name="cancel_reason" value="" />
        <div class="addTable">
            <table width="100%">
                <tr>
                    <td width="80px" align="right">订单号：</td>
                    <td>@Request["osn"]</td>
                </tr>
                <tr>
                    <td align="right">配送方式：</td>
                    <td>@Request["ShipName"]</td>
                </tr>
                <tr>
                    <td width="80px" align="right">配送地址：</td>
                    <td>@Request["address"]</td>
                </tr>
                <tr>
                    <td align="right">取消理由：</td>
                    <td>
                        @foreach (var item in Model)
                        {
                            @Html.RadioButton("reason_id", (object)item.id, new { id = "rad_" + item.id }) 
                            <label for="rad_@item.id">@item.reason</label><br />
                        }
                    </td>
                </tr>
                <tr>
                    <td align="right">&nbsp;</td>
                    <td>                        
                        <a href="@Url.Action("orderinfo",new { oid=Request["oid"]})"><input type="button" class="button" value="返回" /></a>
                        <a href="" class="addBt" id="sumbitBut"><button class="button" style="margin-left:20px">提交</button></a>
                    </td>
                </tr>
                <tr>
                    <td align="right">&nbsp;</td>
                    <td>&nbsp;</td>
                </tr>
            </table>
        </div>
    }
}
